package com.hc.model.code04.test9;

/**
 * @version v1.0
 * @ClassName: Someone
 * @Description: 具体的访问者对象（主人）
 * @Author: HC
 */
public class Someone implements Person{

    @Override
    public void feed(Cat cat) {
        System.out.println("主人给猫喂食了");
    }

    @Override
    public void feed(Dog dog) {
        System.out.println("主人给狗喂食了");
    }
}
